﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using EventPlanner.Models;
using System.Xml;

namespace EventPlanner.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IEventosWCF" in both code and config file together.
    [ServiceContract]
    public interface IEventosWCF
    {

        [OperationContract]
        XmlElement UnEvento(int id);

        [OperationContract]
        XmlElement Listado(int cant, int comienzo);

        [OperationContract]
        XmlElement Busqueda(string busqueda, int cant);

    }
}
